<?php
	include dirname(__FILE__).'/header.php';
?>

<style>

	/* Demo styles */
	html,body{background:#222;margin:0;}
	body{border-top:4px solid #000;}
	.content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;width:620px;margin:20px auto;}
	h1{font-size:12px;font-weight:normal;color:#ddd;margin:0;}
	p{margin:0 0 20px}
	a {color:#22BCB9;text-decoration:none;}
	.cred{margin-top:20px;font-size:11px;}
	
	/* This rule is read by Galleria to define the gallery height: */
	#galleria{height:320px;}
	
</style>
<body class="thrColFixHdr">

<div id="container">
  <div id="header">
	<?php include dirname(__FILE__).'/top_nav.php'?>
  </div>
  <div class="flabs">
   <div class="flaws"></div>
  </div>
  <div id="mainContent">
   <div class="contenta">
    <div class="leftmenu">

     <div class="tlleft leftptd"></div>
		<?php include dirname(__FILE__).'/left_hot_sale_list.php'?>
     <div class="air"></div>
     <div class="hconleft"><img src="<?php echo IMAGE_URL?>images/pop_431.jpg" /></div>
     <div class="air"></div>
     <div class="imgcs"><img src="<?php echo IMAGE_URL?>images/leftsbt.jpg" /></div>
		<?php include dirname(__FILE__).'/left_contact_us.php'?>
     
    </div>
    
    <div class="contrih">
     <div class="tlcon"> <a href="mobile.php">手机列表</a> ><?php echo  $phoneInfo['moep_name']?></div>
     <div class="hconrih">      
     	<?php if($phoneInfo){?>
        <div id="plist" class="m">

                <div class="content">
                    <div id="galleria">  
                            <a href="<?php echo $phoneInfo['moep_log']?>">
                                <img src="<?php echo $phoneInfo['moep_log']?>" />
                            </a>                                             
                        <?php foreach($phoneImgList as $val){?>
                            <a href="<?php echo $val['moei_url']?>">
                                <img src="<?php echo $val['moei_url']?>" />
                            </a>
                        <?php }?>                    
                    </div>
                </div>               
		 </div>
         <div class="pinfodesc">
         	<?php echo $phoneInfo['moepi_desc']?>
         </div>
         <?php }else{?>
         	您查看的手机不存在。
         <?php }?>
     </div>
    </div>
    <div class="air"></div>
   </div>

<script type="text/javascript" src="<?php echo IMAGE_URL?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo IMAGE_URL?>/js/galleria-1.2.3.min.js"></script>
<script type="text/javascript">
    // Load the classic theme
    Galleria.loadTheme('images/js/themes/classic/galleria.classic.js');
    
    // Initialize Galleria
    $('#galleria').galleria();
</script>

<?php
	include dirname(__FILE__).'/footer.php';
?>  